package cn.edu.scau.cmi.zhangmingxing.composite.safe;

import java.util.HashSet;
import java.util.Set;

public abstract class SafeComponent {

	//	(1)业务功能
	public String doSomething() {
		return "I amd Safe Component!!!";
	}
	public abstract String getName();
	//	(2)获取包含对象的功能
	SafeComponent getParent() {
		return null;
	}
	

}
